// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 兼容ie
import 'babel-polyfill'
// ElementUI
import ElementUI from 'element-ui';
import './assets/scss/element-variables.scss';
Vue.use(ElementUI);
// axios
import axios from 'axios'
import {post,get} from '@/common/http.js'
Vue.prototype.$post=post;
Vue.prototype.$get=get;
// 简单日期
import date from '@/common/date.js'
Vue.prototype.$date=date;
Vue.config.productionTip = false
// 接口地址
Vue.prototype.elec=process.env.elec
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
